# coding: utf-8
from PySide6.QtCore import QObject, Signal


class SignalBus(QObject):
    """ Signal bus """
    appMessageSig = Signal(str)
    appErrorSig = Signal(str)

    msgSignal = Signal(str, str)
    bookItemSignal = Signal(object)
    loginSuccessSignal = Signal()
    tokenInvalidSignal = Signal()  # 令牌失效信号


signalBus = SignalBus()
